package com.example.springdemo.mapper;

import com.example.springdemo.entity.Emp;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EmpMapper {
    void insertSelective(Emp record);

    //    @Select("SELECT * FROM employee WHERE id=#{id}")
    Emp selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Emp record);

    int deleteByPrimaryKey(int id);

}